﻿using KinonekoSoftware.CodariaDB.Documents.Relationships.Country;

namespace KinonekoSoftware.Studio.Models.DataParts.Relationships
{
    public sealed class CountryRelationshipPresenter : RelationshipSwitchable<CountryRelationship>
    {
        
        public CountryRelationshipType Type
        {
            get => Core.Type;
            set
            {
                Core.Type = value;
                RaiseUpdated();
            }
        }
        
        public string Name
        {
            get => Core.Name;
            set
            {
                Core.Name = value;
                RaiseUpdated();
            }
        }
    }
}